<script type="text/javascript">
$(document).ready(function() {
	//initIndexBoxes();
	
	$('#content').bind('updateboxes', function() {
		$('#waitmsg').html('<img alt="<?=$this->translate('loadMsg') ?>" src="/img/ajax-loader.gif"/><?=$this->translate('loadMsg') ?>');
		initIndexBoxes();
	});

    // Init polling for upgrade user's feeds
    $('#content').poll({
        url: "/news/upgradeindexboxnews",
        interval: 3600000,
        success: function(data) {
 	        $('#content').trigger('updateboxes');
        },
        error: function() {
        	jQuery.facebox("<?=$this->translate('upgradeFeedError') ?>");
            $('#content').trigger('updateboxes');
        }
    });
});
</script>

<!--###Blocco Centrale###-->
    <div id="content">
        <div id="waitmsg" align="center">
            <img alt="<?=$this->translate('loadMsg') ?>" src="/img/ajax-loader.gif"/><?=$this->translate('loadMsg') ?>
        </div>
        <div id="columns">    
        
        </div>
    </div><!--contentCenter-->
<!--###Fine Blocco Centrale###-->